// ----------------------------------------------------------------------------
// serialize_type.cpp
// ----------------------------------------------------------------------------
#include <fw/base/serialize/serialize_type.h>
#include <fw/base/serialize/byte_reader.h>
#include <fw/base/serialize/serialize_compound_type.h>

namespace fw
{
	SerializeType* SerializeType::ReadNew(ByteReader &reader)
	{
		SerializeType* serializeType = nullptr;
		if(!serializeType)
		{
			serializeType = reader.ReadNew<SerializeCompoundType>();
		}
		return serializeType;
	}
	
} // namespace fw
